package com.cg.dao;


import com.cg.entity.Department;
import com.cg.vo.DepartmentDoctorVo;
import com.cg.vo.DepartmentInfoVo;

import java.util.List;

/**
 * (Department)科室表
 *
 * @author chengong
 * @since 2024-01-07 12:26:07
 */
public interface DepartmentMapper {

    /**
     * 根据院区id查询科室
     */
    List<Department> queryDepartmentByBranchId(Integer branchId);

    /**
     * 根据科室名称模糊查询科室列表
     */
    List<Department> queryDepartmentByDepartmentName(String departmentName);

    /**
     * 根据科室id查询科室介绍详情
     */
    DepartmentInfoVo queryDepartmentInfoByDepartmentId(Integer departmentId);

    /**
     * 根据科室id查询科室下面的专家
     */
    List<DepartmentDoctorVo> queryDoctorListByDepartmentId(Integer departmentId);
}

